gtk4.git
26 years agoAdded 2 more convience functions.
Mark Crichton [Sat, 1 Apr 2000 03:28:31 +0000 (03:28 +0000)]
Added 2 more convience functions.

Added 2 more convience functions.

gdk_pixbuf_get_refcount for the current refcount of the pixbuf (per someone
at Eazel's request)

gdk_pixbuf_get_artpixbuf: returns the artpixbuf of the pixbuf.  Is this
a good idea?  I'm using it to help make->panel->do->the->right->thing.

26 years agooops. s/return_if_fail/return_val_if_fail/g and add a return value.
Jonathan Blandford [Thu, 30 Mar 2000 16:52:29 +0000 (16:52 +0000)]
oops. s/return_if_fail/return_val_if_fail/g and add a return value.

2000-03-30  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkpaned.c (gtk_paned_get_position): oops.
s/return_if_fail/return_val_if_fail/g and add a return value.

26 years agoupdate to reflect stuff I already did
Havoc Pennington [Thu, 30 Mar 2000 01:52:50 +0000 (01:52 +0000)]
update to reflect stuff I already did

26 years agofile gtkiconset.c was initially added on branch havoc-patches.
Havoc Pennington [Wed, 29 Mar 2000 20:49:52 +0000 (20:49 +0000)]
file gtkiconset.c was initially added on branch havoc-patches.

26 years agofile gtkiconset.h was initially added on branch havoc-patches.
Havoc Pennington [Wed, 29 Mar 2000 20:49:52 +0000 (20:49 +0000)]
file gtkiconset.h was initially added on branch havoc-patches.

26 years agoReturn gboolean instead of int.
Federico Mena Quintero [Wed, 29 Mar 2000 19:54:29 +0000 (19:54 +0000)]
Return gboolean instead of int.

2000-03-29  Federico Mena Quintero  <federico@helixcode.com>

* gdk-pixbuf/gdk-pixbuf.c (gdk_pixbuf_get_has_alpha): Return
gboolean instead of int.

26 years agoAdd font selector, color selector
Havoc Pennington [Tue, 28 Mar 2000 19:51:08 +0000 (19:51 +0000)]
Add font selector, color selector

26 years agoAdd stuff from Ettore
Havoc Pennington [Tue, 28 Mar 2000 17:18:15 +0000 (17:18 +0000)]
Add stuff from Ettore

26 years agoFix problem with precendence of >> and & which was keeping composite_color
Owen Taylor [Tue, 28 Mar 2000 04:49:42 +0000 (04:49 +0000)]
Fix problem with precendence of >> and & which was keeping composite_color

2000-03-27  Owen Taylor  <otaylor@redhat.com>

* gdk-pixbuf/pixops/pixops.c: Fix problem with
precendence of >> and & which was keeping composite_color
from working with non-gray images.

26 years agoFix up merge slipup.
Owen Taylor [Tue, 28 Mar 2000 01:58:05 +0000 (01:58 +0000)]
Fix up merge slipup.

Mon Mar 27 20:56:14 2000  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.c (gtk_widget_queue_clear_area): Fix up
merge slipup.

* gdk/gdkinput.h: Fix missing line from merge.

26 years agoInclude gdkinternals.h instead of gdkprivate.h.
Owen Taylor [Tue, 28 Mar 2000 01:40:57 +0000 (01:40 +0000)]
Include gdkinternals.h instead of gdkprivate.h.

Mon Mar 27 20:39:49 2000  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkcolor.c cursor.c gdkdraw.c gdkfont.c: Include gdkinternals.h
instead of gdkprivate.h.

26 years ago*** empty log message ***
Owen Taylor [Tue, 28 Mar 2000 01:31:13 +0000 (01:31 +0000)]
*** empty log message ***

26 years agoMerge no-flicker branch into HEAD
Owen Taylor [Tue, 28 Mar 2000 01:24:44 +0000 (01:24 +0000)]
Merge no-flicker branch into HEAD

26 years agoAdd making GdkRGB render to any visual
Havoc Pennington [Mon, 27 Mar 2000 23:49:23 +0000 (23:49 +0000)]
Add making GdkRGB render to any visual

26 years agoAdd MDI thing and icon list
Havoc Pennington [Mon, 27 Mar 2000 23:40:04 +0000 (23:40 +0000)]
Add MDI thing and icon list

26 years agofix sections
Havoc Pennington [Mon, 27 Mar 2000 23:24:17 +0000 (23:24 +0000)]
fix sections

26 years agoUpdate TODO file with a bunch of stuff (filtered via Owen)
Havoc Pennington [Mon, 27 Mar 2000 23:20:40 +0000 (23:20 +0000)]
Update TODO file with a bunch of stuff (filtered via Owen)

26 years agoadd getter.
Jonathan Blandford [Thu, 23 Mar 2000 22:33:38 +0000 (22:33 +0000)]
add getter.

2000-03-23  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkpaned.c (gtk_paned_get_position): add getter.

26 years agoAdd defs file format document (this document isn't 100% finalized, but
Havoc Pennington [Thu, 23 Mar 2000 20:20:19 +0000 (20:20 +0000)]
Add defs file format document (this document isn't 100% finalized, but
putting it here as a sort of "official" location)

26 years agoUpdated Lithuanian file
Pablo Saratxaga [Mon, 20 Mar 2000 17:47:01 +0000 (17:47 +0000)]
Updated Lithuanian file

26 years agoRemove the #ifndef USE_DISPATCHMESSAGE sections, we do want to use
Tor Lillqvist [Thu, 16 Mar 2000 21:58:35 +0000 (21:58 +0000)]
Remove the #ifndef USE_DISPATCHMESSAGE sections, we do want to use

2000-03-17  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkevents-win32.c: Remove the #ifndef
USE_DISPATCHMESSAGE sections, we do want to use DispatchMessage.

* gdk/win32/gdkfont-win32.c
* gdk/win32/gdkproperty-win32.c
* gdk/win32/gdkselection-win32.c
* gdk/win32/gdkwindow-win32.c: Add const to some arguments that are
now declared such.

26 years agoremoved stray gutter_size reference, a 1.2 relic
Manish Singh [Wed, 15 Mar 2000 11:03:57 +0000 (11:03 +0000)]
removed stray gutter_size reference, a 1.2 relic

* gtk/gtkvpaned.c: removed stray gutter_size reference, a 1.2 relic

-Yosh

26 years agoBetter description of gdk_rgb_set_min_colors. Stric pointed out that
Raph Levien [Tue, 14 Mar 2000 22:20:20 +0000 (22:20 +0000)]
Better description of gdk_rgb_set_min_colors. Stric pointed out that
the previous documentation suggested using 256 to request a private
colormap, which is currently broken. This was making Mozilla crash.

26 years agoMerges from gtk-1-2
Owen Taylor [Tue, 14 Mar 2000 19:57:25 +0000 (19:57 +0000)]
Merges from gtk-1-2

26 years agoFix typo: Italian uses ISO-8859-1, not -2. Add en_GB.
Tor Lillqvist [Tue, 14 Mar 2000 18:10:15 +0000 (18:10 +0000)]
Fix typo: Italian uses ISO-8859-1, not -2. Add en_GB.

2000-03-14  Tor Lillqvist  <tml@iki.fi>

* makefile.cygwin: Fix typo: Italian uses ISO-8859-1, not -2. Add
en_GB.

26 years agodocument gtk_window_set_policy() (cleared with Owen)
Havoc Pennington [Tue, 14 Mar 2000 17:21:06 +0000 (17:21 +0000)]
document gtk_window_set_policy() (cleared with Owen)

26 years agoUpdated lt.po
Pablo Saratxaga [Mon, 13 Mar 2000 20:57:47 +0000 (20:57 +0000)]
Updated lt.po

26 years agoFAQ Update: - Minor cleanups (Emmanuel, me) - New questions: I need to add
GMT 2000 Tony Gale [Thu, 9 Mar 2000 22:17:20 +0000 (22:17 +0000)]
FAQ Update: - Minor cleanups (Emmanuel, me) - New questions: I need to add

Thu Mar  9 22:10:56 GMT 2000  Tony Gale <gale@gtk.org>

        * docs/gtkfaq.sgml: FAQ Update:
          - Minor cleanups (Emmanuel, me)
          - New questions:
                I need to add a new signal to a GTK+ widget. Any idea? (timj)
                How can I retrieve the text from a GtkMenuItem? (timj)
                How do I validate/limit/filter the input to a GtkEntry? (me)
                Memory does not seem to be released when I free the list
                        nodes I've allocated (timj)

26 years agofree the context. (gdk_pixbuf__gif_image_load_animation): free the
Jonathan Blandford [Thu, 9 Mar 2000 00:11:30 +0000 (00:11 +0000)]
free the context. (gdk_pixbuf__gif_image_load_animation): free the

2000-03-08  Jonathan Blandford  <jrb@redhat.com>

* gdk-pixbuf/io-gif.c (gdk_pixbuf__gif_image_load): free the context.
(gdk_pixbuf__gif_image_load_animation): free the context.

26 years agoInternal GDK error reporting changes: (gdk_win32_gdi_failed) New function
Tor Lillqvist [Wed, 8 Mar 2000 06:18:41 +0000 (06:18 +0000)]
Internal GDK error reporting changes: (gdk_win32_gdi_failed) New function

2000-03-07  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkmain-win32.c: Internal GDK error reporting changes:
(gdk_win32_gdi_failed) New function for reporting errors from GDI,
for which it is no use to call GetLastError on Win9x.
(gdk_other_api_failed) New function, for
general error reporting without calling GetLastError.
(gdk_win32_api_failed) OTOH, this function always calls
GetLastError. (gdk_win32_last_error_string) Remove this function,
GLib has the equivalent now.

* gdk/win32/gdkprivate-win32.h: Declare the above, and macros to
call them with function name, file name and line number in the
arguments.

* gdk/win32/*.c: Use the new macros for reporting errors from GDI
functions.

* gtk/gtk.def: Add some missing entry points.

* gtk/gtkcompat.h.in: Define gtk_paned_gutter_size and
gtk_paned_set_gutter_size, which don't exist any longer, as void.

Fixes by Hans Breuer:

* gdk/makefile.msc: Update for debugging.

* gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Fake
implementation, just use the PS_DASH, PS_DOT, PS_DASHDOT or
PS_DASHDOTDOT or PS_DASH styles depending on the number of entries
in the dash_list.

* gdk/win32/gdkwin32.h (GDK_FONT_XFONT): New macro, similar as in
the x11 backend.

* gdk/win32/gdkprivate-win32.h (IS_WIN_NT): New macro.

* gtk/testgtk.c: Include config.h, guard inclusion of unistd.h.

26 years agofix to gtk_clist_set_reorderable(). It reorders rows, not columns. From
Damon Chaplin [Tue, 7 Mar 2000 18:03:35 +0000 (18:03 +0000)]
fix to gtk_clist_set_reorderable(). It reorders rows, not columns. From

2000-03-07  Damon Chaplin  <damon@helixcode.com>

        * gtk/tmpl/gtkclist.sgml: fix to gtk_clist_set_reorderable(). It
        reorders rows, not columns. From Guy Harris <gharris@flashcom.net>.

26 years agoMoved into docs/ subdir
Owen Taylor [Mon, 6 Mar 2000 18:47:32 +0000 (18:47 +0000)]
Moved into docs/ subdir

Mon Mar  6 11:44:58 2000  Owen Taylor  <otaylor@redhat.com>

        * docs/gap-geometry.fig: Moved into docs/ subdir

        * Makefile.am configure.in autogen.sh src/Makefile.am:
automakify

* src/pixbuf.h src/pixbuf-render.c src/pixbuf-draw.c
src/pixbuf-main.c: Move sources into subdir and
rename.

26 years agoStart automake-ifying
Owen Taylor [Mon, 6 Mar 2000 16:39:14 +0000 (16:39 +0000)]
Start automake-ifying

26 years agoHandle drawing transparency without a mask correctly.
Owen Taylor [Mon, 6 Mar 2000 16:12:22 +0000 (16:12 +0000)]
Handle drawing transparency without a mask correctly.

Mon Mar  6 11:02:07 2000  Owen Taylor  <otaylor@redhat.com>

* pixmap_theme_pixbuf.c: Handle drawing transparency without a
mask correctly.

* pixmap_theme_main.c pixmap_theme_draw.c: Remove duplicate
includes.

26 years agoArjan van de Ven <arjan@fenrus.demon.nl>
Arjan van de Ven [Mon, 6 Mar 2000 08:53:57 +0000 (08:53 +0000)]
Arjan van de Ven <arjan@fenrus.demon.nl>
Fixed to pointer-bugs and a
mis-interpretation of the Microsoft documentation. Now
it can load .BMP files that are not generated by The Gimp
as well.
a=federico

26 years agoStore just pixel value of background colour.
Tor Lillqvist [Fri, 3 Mar 2000 23:21:51 +0000 (23:21 +0000)]
Store just pixel value of background colour.

2000-03-04  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkprivate-win32.h (struct _GdkWindowWin32Data): Store
just pixel value of background colour.

* gdk/win32/gdkgc-win32.c (gdk_colormap_color): New function
containing code snippet previously duplicated in a couple of
places.

* gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_points): Use
gdk_colormap_color.

* gdk/win32/gdkevents-win32.c (gdk_event_translate): Generate
GDK_SCROLL events for WM_MOUSEWHEEL messages. Don't generate
events for autorepeated Shift, Control and Alt keys. Use
gdk_colormap_color.

* gdk/win32/gdkwindow-win32.c (gdk_window_set_cursor): If the
pointer is inside the window the cursor of which we are setting,
call SetCursor immediately.

* gdk/win32/makefile.cygwin
* gtk/makefile.cygwin: If we don't have the build number stamp
file, use zero.

* gtk/gtkcompat.h.in: Define gtk_paned_gutter_size and
gtk_paned_set_gutter_size as empty.

* gtk/gtk.def: Remove gtk_paned_set_gutter_size.

26 years agoMerged in changes.
Mark Crichton [Fri, 3 Mar 2000 03:57:15 +0000 (03:57 +0000)]
Merged in changes.

Merged in changes.

If this doesn't work, I blame the NWO conspiracy.

I need to go put my tin foil hat back on now, and keep a lookout for the
black helicopters.

26 years agominor fix from Nicolas GEORGE <nicolas.george@ens.fr>.
Damon Chaplin [Tue, 29 Feb 2000 18:43:54 +0000 (18:43 +0000)]
minor fix from Nicolas GEORGE <nicolas.george@ens.fr>.

2000-02-29  Damon Chaplin  <damon@helixcode.com>

        * gtk/tmpl/gtkmenuitem.sgml: minor fix from Nicolas GEORGE
        <nicolas.george@ens.fr>.

26 years agos/unsigned long/guint32/g, s/unsigned short/guint16/g, s/unsigned
Matt Wilson [Tue, 29 Feb 2000 18:27:44 +0000 (18:27 +0000)]
s/unsigned long/guint32/g, s/unsigned short/guint16/g, s/unsigned

2000-02-28  Matt Wilson  <msw@redhat.com>

* gdk-pixbuf/gdk-pixbuf-drawable.c: s/unsigned long/guint32/g,
s/unsigned short/guint16/g, s/unsigned char/guint8/g

26 years agomissed a couple of corrections
GMT 2000 Tony Gale [Tue, 29 Feb 2000 13:29:59 +0000 (13:29 +0000)]
missed a couple of corrections

Tue Feb 29 13:29:17 GMT 2000  Tony Gale <gale@gtk.org>

missed a couple of corrections

26 years agoSpelling/grammar fixes from Martin Buchholz <martin@xemacs.org>
GMT 2000 Tony Gale [Tue, 29 Feb 2000 13:15:10 +0000 (13:15 +0000)]
Spelling/grammar fixes from Martin Buchholz <martin@xemacs.org>

Tue Feb 29 13:10:00 GMT 2000  Tony Gale <gale@gtk.org>

        * gdk/gdkwindow.h gdk/x11/gxid.c gtk/gtkclist.c gtk/gtkclist.h
          gtk/gtkctree.c gtk/gtkmenu.h gtk/gtkwidget.c gtk/testgtk.c
          docs/styles.txt docs/refcounting.txt docs/gtkfaq.sgml
          docs/gtk_tut.sgml docs/gtk.texi TODO:
          Spelling/grammar fixes from Martin Buchholz <martin@xemacs.org>

26 years agonew menu item sections and minor update to notebook section from Nicolas
Damon Chaplin [Mon, 28 Feb 2000 21:39:41 +0000 (21:39 +0000)]
new menu item sections and minor update to notebook section from Nicolas

2000-02-28  Damon Chaplin  <damon@helixcode.com>

        * gtk/tmpl/gtkradiomenuitem.sgml:
        * gtk/tmpl/gtkmenuitem.sgml:
        * gtk/tmpl/gtknotebook.sgml: new menu item sections and minor update to
        notebook section from Nicolas GEORGE <nicolas.george@ens.fr>.

2000-02-18  Damon Chaplin  <damon@helixcode.com>

        * gtk/tmpl/gtktooltips.sgml: patch from
        David Benson <daveb@idealab.com> to note that gtk_tooltips_set_colors()
        does not work.

2000-02-09  Damon Chaplin  <damon@helixcode.com>

        * gdk/tmpl/input_methods.sgml: minor fix.

26 years agoadded a note about no-window widgets.
Damon Chaplin [Mon, 28 Feb 2000 21:39:41 +0000 (21:39 +0000)]
added a note about no-window widgets.

2000-06-14  Damon Chaplin  <damon@helixcode.com>

* gtk/tmpl/gtktooltips.sgml: added a note about no-window widgets.

26 years agonew menu item sections and minor update to notebook section from Nicolas
Damon Chaplin [Mon, 28 Feb 2000 21:39:41 +0000 (21:39 +0000)]
new menu item sections and minor update to notebook section from Nicolas

2000-02-28  Damon Chaplin  <damon@helixcode.com>

        * gtk/tmpl/gtkradiomenuitem.sgml:
        * gtk/tmpl/gtkmenuitem.sgml:
        * gtk/tmpl/gtknotebook.sgml: new menu item sections and minor update to
        notebook section from Nicolas GEORGE <nicolas.george@ens.fr>.

2000-02-18  Damon Chaplin  <damon@helixcode.com>

        * gtk/tmpl/gtktooltips.sgml: patch from
        David Benson <daveb@idealab.com> to note that gtk_tooltips_set_colors()
        does not work.

2000-02-09  Damon Chaplin  <damon@helixcode.com>

        * gdk/tmpl/input_methods.sgml: minor fix.

26 years agoWe don't require libgif/ungif nor libXpm.
Federico Mena Quintero [Sun, 27 Feb 2000 01:25:27 +0000 (01:25 +0000)]
We don't require libgif/ungif nor libXpm.

2000-02-26  Federico Mena Quintero  <federico@helixcode.com>

* README: We don't require libgif/ungif nor libXpm.

* NEWS: This was outdated, so updated it.

26 years agoImplement num_marked_dates, and don't emit mutiple day_selected signals on
GMT 2000 Tony Gale [Sat, 26 Feb 2000 11:39:07 +0000 (11:39 +0000)]
Implement num_marked_dates, and don't emit mutiple day_selected signals on

Sat Feb 26 11:46:25 GMT 2000  Tony Gale <gale@gtk.org>

        * gtk/gtkcalendar.c: Implement num_marked_dates,
          and don't emit mutiple day_selected signals on
          month_prev.

26 years agodon't omit TODO.xml
Tim Janik [Sat, 26 Feb 2000 03:47:25 +0000 (03:47 +0000)]
don't omit TODO.xml

26 years agoUpdated italian translation
Christopher R. Gabriel [Sat, 26 Feb 2000 01:41:58 +0000 (01:41 +0000)]
Updated italian translation

26 years agolet title and logo be configurable so that GNOME can use this script too.
Jonathan Blandford [Fri, 25 Feb 2000 22:56:58 +0000 (22:56 +0000)]
let title and logo be configurable so that GNOME can use this script too.

2000-02-25  Jonathan Blandford  <jrb@redhat.com>

* docs/make-todo (lineno): let title and logo be configurable so
that GNOME can use this script too.

* TODO.xml: added logourl and a title

26 years agoUse the correct name for gdk-pixbuf/gdk-pixbuf.h. Thanks to Jacob Berkman
Federico Mena Quintero [Fri, 25 Feb 2000 21:41:51 +0000 (21:41 +0000)]
Use the correct name for gdk-pixbuf/gdk-pixbuf.h. Thanks to Jacob Berkman

2000-02-25  Federico Mena Quintero  <federico@helixcode.com>

* gdk-pixbuf.m4: Use the correct name for
gdk-pixbuf/gdk-pixbuf.h.  Thanks to Jacob Berkman for pointing
this out.

26 years agoAdded some UI items, and an explanatory comment at the top of the file.
Owen Taylor [Fri, 25 Feb 2000 16:17:10 +0000 (16:17 +0000)]
Added some UI items, and an explanatory comment at the top of the file.

Fri Feb 25 11:12:00 2000  Owen Taylor  <otaylor@redhat.com>

* TODO.xml: Added some UI items, and an explanatory
comment at the top of the file.

26 years agosome updates, added abunch of new entries. a note for those fiddeling with
Tim Janik [Thu, 24 Feb 2000 08:12:12 +0000 (08:12 +0000)]
some updates, added abunch of new entries. a note for those fiddeling with

Thu Feb 24 09:07:28 2000  Tim Janik  <timj@gtk.org>

        * TODO.xml: some updates, added abunch of new entries.
        a note for those fiddeling with this file, when done
        with it, invoke:
        $ ./docs/make-todo TODO.xml >/dev/null
        and correct output errors before comitting changes.

26 years agotwiddled some more
Owen Taylor [Thu, 24 Feb 2000 05:11:56 +0000 (05:11 +0000)]
twiddled some more

26 years agotwiddled
Owen Taylor [Thu, 24 Feb 2000 04:47:57 +0000 (04:47 +0000)]
twiddled

26 years agosmall changes
Owen Taylor [Thu, 24 Feb 2000 04:35:05 +0000 (04:35 +0000)]
small changes

26 years agospelling fixes
Owen Taylor [Thu, 24 Feb 2000 04:20:41 +0000 (04:20 +0000)]
spelling fixes

26 years agoAdded XML-structured TODO file. python script to turn TODO.xml into pretty
Owen Taylor [Thu, 24 Feb 2000 04:03:49 +0000 (04:03 +0000)]
Added XML-structured TODO file. python script to turn TODO.xml into pretty

Wed Feb 23 22:59:50 2000  Owen Taylor  <otaylor@redhat.com>

* TODO.xml: Added XML-structured TODO file.
        * docs/make-todo: python script to turn TODO.xml into
          pretty XML output.

26 years agoadd a 'paned' mode to the function to let it draw the seven dots, instead
Jonathan Blandford [Wed, 23 Feb 2000 22:55:27 +0000 (22:55 +0000)]
add a 'paned' mode to the function to let it draw the seven dots, instead

2000-02-23  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkstyle.c (gtk_default_draw_handle): add a 'paned' mode to
the function to let it draw the seven dots, instead of the old,
much maligned, method.
(draw_dot): New function to draw a dot.

* gtk/gtkhpaned.c (gtk_hpaned_size_allocate): changed allocation
to draw the handle inside the border width as opposed to outside.
Use paint function instead of gdk_draw_point.

* gtk/gtkvpaned.c (gtk_vpaned_size_allocate): changed allocation
to draw the handle inside the border width as opposed to outside.
Use paint function instead of gdk_draw_point.

* gtk/gtkfilesel.c (gtk_file_selection_update_history_menu):
Change indenting to be more GTK like.

26 years agoNew section on GtkCalendar Update example code
GMT 2000 Tony Gale [Wed, 23 Feb 2000 10:59:21 +0000 (10:59 +0000)]
New section on GtkCalendar Update example code

Wed Feb 23 10:54:14 GMT 2000  Tony Gale <gale@gtk.org>

        * docs/gtk_tut.sgml: New section on GtkCalendar
        * examples/calendar: Update example code

26 years agoGet the date on the FAQ right. Grr.
GMT 2000 Tony Gale [Tue, 22 Feb 2000 13:59:09 +0000 (13:59 +0000)]
Get the date on the FAQ right. Grr.

Tue Feb 22 14:02:48 GMT 2000 Tony Gale <gale@gtk.org>

        * Get the date on the FAQ right. Grr.

26 years agoFAQ Update
GMT 2000 Tony Gale [Tue, 22 Feb 2000 13:49:53 +0000 (13:49 +0000)]
FAQ Update

Tue Feb 22 13:54:12 GMT 2000  Tony Gale <gale@gtk.org>

        * docs/gtkfaq.sgml: FAQ Update

26 years ago0.6.0 - Federico
Federico Mena Quintero [Tue, 22 Feb 2000 00:29:00 +0000 (00:29 +0000)]
0.6.0 - Federico

26 years agofix case where initial colormap entry is Transparent.
Jonathan Blandford [Sun, 20 Feb 2000 03:08:00 +0000 (03:08 +0000)]
fix case where initial colormap entry is Transparent.

2000-02-19  Jonathan Blandford  <jrb@redhat.com>

* gdk-pixbuf/io-gif.c (new_context): fix case where initial
colormap entry is Transparent.

26 years agoReturn TRUE to prevent the scroll event to be propagated upwards.
Anders Carlsson [Sat, 19 Feb 2000 22:19:55 +0000 (22:19 +0000)]
Return TRUE to prevent the scroll event to be propagated upwards.

2000-02-19  Anders Carlsson  <andersca@gnu.org>

* gtk/gtkrange.c (gtk_range_scroll_event): Return TRUE
to prevent the scroll event to be propagated upwards.

26 years agoFix error in scale factors for non-alpha case.
Owen Taylor [Sat, 19 Feb 2000 22:05:48 +0000 (22:05 +0000)]
Fix error in scale factors for non-alpha case.

2000-02-19  Owen Taylor  <otaylor@redhat.com>

* gdk-pixbuf/pixops/pixops.c (scale_pixel): Fix error in
scale factors for non-alpha case.

26 years agoFix my e-mail address
Anders Carlsson [Fri, 18 Feb 2000 21:44:29 +0000 (21:44 +0000)]
Fix my e-mail address

26 years agoRemove OwnerGrabButtonMask from button entries for GDK_BUTTON_PRESS /
Owen Taylor [Fri, 18 Feb 2000 20:02:24 +0000 (20:02 +0000)]
Remove OwnerGrabButtonMask from button entries for GDK_BUTTON_PRESS /

Fri Feb 18 14:37:29 2000  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkwindow-x11.c (gdk_event_mask_table): Remove
OwnerGrabButtonMask from button entries for
GDK_BUTTON_PRESS / GDK_BUTTON_RELEASE.

* gtk/gtklayout.c (gtk_layout_realize): Always add GDK_SCROLL
to the event mask (which will result in button/press release
being added to the event mask on Unix) so scrolling works
for layouts in scroll windows.

* gdk/gdkevents.h (enum): Fix up GDK_ALL_EVENTS_MASK.

Patch from Anders Carlsson  <andersca@picard.andersnet> to add
a scroll event.

  * gtk/testgtk.c (scroll_test_scroll): Added an example of mouse wheel
  scrolling to the "Test Scrolling" part of testgtk.

  * gtk/gtkwidget.h (struct _GtkWidgetClass): Added scroll_event signal.

  * gtk/gtkwidget.c: Added "scroll_event" GTK+ signal and matched
  it against GDK_SCROLL.

  * gtk/gtkrange.c (gtk_range_scroll_event): Updated to use the new
  way of mouse wheel scrolling.

  * gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_event): Likewise.

  * gtk/gtkspinbutton.c (gtk_spin_button_scroll): Likewise.

  * gtk/gtkmain.c: Removed previous mouse wheel hack.

  * gdk/x11/gdkwindow-x11.c (gdk_event_mask_table): Added entry in
  gdk_event_mask_table.

  * gdk/x11/gdkevents-x11.c (gdk_event_translate): Added
  GdkEventScroll handler.

  * gdk/gdkevents.h: Added GdkEventScroll structure.

26 years agoAdd patch from Jonathan Blandford and Anders Carlsson to change the Paned
Owen Taylor [Thu, 17 Feb 2000 22:12:25 +0000 (22:12 +0000)]
Add patch from Jonathan Blandford and Anders Carlsson to change the Paned

Thu Feb 17 17:10:12 2000  Owen Taylor  <otaylor@redhat.com>

* gtk/gt{h,k,}vpaned.[ch]: Add patch from Jonathan Blandford
and Anders Carlsson to change the Paned widgets so that they
can be dragged from anywhere along the length. Also change
the way that this is drawn to make this apparent.

* gtk/gtkoptionmenu.c (gtk_option_menu_get_history): Apply patch
from George Lebl to check that option_menu->menu is present
before getting history.

26 years agoIain sent me a xpm that didn't load. It used "g" instead of "c" in it's
Mark Crichton [Mon, 14 Feb 2000 23:26:01 +0000 (23:26 +0000)]
Iain sent me a xpm that didn't load. It used "g" instead of "c" in it's

Iain sent me a xpm that didn't load.  It used "g" instead of "c" in it's
color table.

I thought that was borked until I saw Imlib, xv, and Gimp load it up w/o
problem...

So, fixed that (less than one line fix).  HOWEVER, if this is correct,
then the gdk XPM loader in gtk+ also has the same problem.

Owen, got an opinion on this?

Mark

26 years agoRemove now-unnecessary cast.
Darin Adler [Mon, 14 Feb 2000 20:51:51 +0000 (20:51 +0000)]
Remove now-unnecessary cast.

26 years agoMake passed-in argument 'const'.
Elliot Lee [Mon, 14 Feb 2000 20:06:23 +0000 (20:06 +0000)]
Make passed-in argument 'const'.

* gdk-pixbuf/gdk-pixbuf.h, gdk-pixbuf/gdk-pixbuf-data.c: Make passed-in argument 'const'.

26 years agoMove the test for no segments before the assertion for non-NULL segment
Tor Lillqvist [Sun, 13 Feb 2000 23:19:23 +0000 (23:19 +0000)]
Move the test for no segments before the assertion for non-NULL segment

2000-02-14  Tor Lillqvist  <tml@iki.fi>

* gdk/gdkdraw.c (gdk_draw_segments): Move the test for no segments
before the assertion for non-NULL segment list.

* gdk/win32/gdkgc-win32.c: (gdk_win32_gc_values_to_win32values):
Seems that pattern brushes *must* be 8x8 pixels! At least on my
machine, but it might be display driver dependent. Sigh, so make
sure the stipple is that size. Does Windows suck or what?

* gdk/win32/gdkdrawable-win32.c: Improve error handling in a few
places.

26 years agoinit refcount to 1 (gdk_cursor_new): init refcount to 1
Havoc Pennington [Sun, 13 Feb 2000 20:22:20 +0000 (20:22 +0000)]
init refcount to 1 (gdk_cursor_new): init refcount to 1

2000-02-13  Havoc Pennington  <hp@pobox.com>

* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): init
refcount to 1
(gdk_cursor_new): init refcount to 1

* gdk/win32/gdkcursor-win32.c
(gdk_cursor_new): init refcount to 1

26 years agoAdd an extra parameter so that we don't have to do unnecessary settings to
Tor Lillqvist [Sun, 13 Feb 2000 14:52:47 +0000 (14:52 +0000)]
Add an extra parameter so that we don't have to do unnecessary settings to

2000-02-13  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkgc-win32.c (gdk_gc_predraw): Add an extra parameter
so that we don't have to do unnecessary settings to the HDC.

* gdk/win32/gdkdrawable-win32.c
* gdk/win32/gdkimage-win32.c: Corresponding changes to the calls of
gdk_gc_predraw.

* gdk/win32/gdkdrawable-win32.c: Special-casing for GdkGCs where
the fill style is GDK_OPAQUE_STIPPLED. In those cases we construct
GDI paths, call WidenPath to get the outline of the stroken path,
and then fill the outline (with the brush that was built from the
stipple).

* gdk/win32/gdkgc-win32.c: Factor out common code from
_gdk_win32_gc_new and gdk_win32_gc_set_values into
gdk_win32_gc_values_to_win32values.

* gdk/win32/gdkmain-win32.c (gdk_win32_last_error_string,
gdk_win32_api_failed): New functions for error logging.

* gdk/win32/gdkprivate-win32.h: Declare them, and a macro
WIN32_API_FAILED to call them, passing function or file name and
line number.

* gdk/win32/*.c: Use the WIN32_API_FAILED macro.

* gdk/win32/gdkprivate-win32.h: Store just the pixel values from
GdkColor for foreground and background in GdkGCWin32Data.

* gdk/makefile.cygwin: Link in the resource object separately.

* gdk/win32/rc/gdk.rc
* gtk/gtk.rc (New file)
* gdk/win32/makefile.cygwin
* gtk/makefile.cygwin: Update build number in DLLs automatically,
as in GLib.

26 years agos/refcount/ref_count/.
Tim Janik [Sun, 13 Feb 2000 08:16:48 +0000 (08:16 +0000)]
s/refcount/ref_count/.

Sun Feb 13 08:54:45 2000  Tim Janik  <timj@gtk.org>

        * gdk/gdkcursor.h (struct _GdkCursor): s/refcount/ref_count/.
        * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap):
        * gdk/x11/gdkcursor-x11.c (_gdk_cursor_destroy):
        * gdk/gdkcursor.c (gdk_cursor_ref): insert assertments for the
        parameters given and cursor->ref_count. coding style fixups.

        * gtk/gtksocket.c (gtk_socket_class_init): parent class is GtkContainer,
        not GtkWidget.

        * gtk/*.h: applied patch from Mathieu Lacage <lacage@email.enst.fr> to
        fix up widget macros and add _GET_CLASS() variant.

        * gtk/*.c: some GtkType fixups.

26 years agogdk/win32/gdkproperty-win32.c The assertions for GDK_IS_WINDOW were
Tor Lillqvist [Wed, 9 Feb 2000 22:31:34 +0000 (22:31 +0000)]
gdk/win32/gdkproperty-win32.c The assertions for GDK_IS_WINDOW were

2000-02-09  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkproperty-win32.c
* gdk/x11/gdkproperty-x11.c: The assertions for GDK_IS_WINDOW
were reversed.

26 years agoInitial import of gdk-pixbuf-based engine
Owen Taylor [Mon, 7 Feb 2000 02:36:39 +0000 (02:36 +0000)]
Initial import of gdk-pixbuf-based engine

26 years agoInitial revision
Owen Taylor [Mon, 7 Feb 2000 02:36:39 +0000 (02:36 +0000)]
Initial revision

26 years agoBy order of jrb: const patch for various bits, io-gif.c fixup for
Michael Meeks [Thu, 3 Feb 2000 23:36:14 +0000 (23:36 +0000)]
By order of jrb: const patch for various bits, io-gif.c fixup for

By order of jrb:
const patch for various bits,
io-gif.c fixup for animations.

26 years agoupdated lt.po
Pablo Saratxaga [Thu, 3 Feb 2000 18:05:00 +0000 (18:05 +0000)]
updated lt.po

26 years agoUpdated Norwegian translation.
Kjartan Maraas [Thu, 3 Feb 2000 11:03:16 +0000 (11:03 +0000)]
Updated Norwegian translation.

2000-02-04  Kjartan Maraas  <kmaraas@online.no>

* no.po: Updated Norwegian translation.

26 years agoArgh, decided not to return a string that must be freed from
Tor Lillqvist [Thu, 3 Feb 2000 01:42:51 +0000 (01:42 +0000)]
Argh, decided not to return a string that must be freed from
gtk_file_selection_get_filename after all, as that would
cause memory leaks in all apps that use it unless they
specifically checked fot the GTk+ version.

gtk_file_selection_get_filename returns the filename in the C
runtime encoding. It calls g_filename_from_utf8, but copies the
returned string to a static buffer, which is returned. I think
this is better than returning the result from g_filename_from_utf8
directly, which would mean all apps that use it would have to free
the return value. Or should this function care about this issue at
all? Maybe a new function with clearly defined semantics.

26 years agoUse g_filename_to_utf8 to convert the font names Windows gives us from
Tor Lillqvist [Thu, 3 Feb 2000 01:19:03 +0000 (01:19 +0000)]
Use g_filename_to_utf8 to convert the font names Windows gives us from

2000-02-04  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkfont-win32.c (logfont_to_xlfd): Use
g_filename_to_utf8 to convert the font names Windows gives us from
whatever is the default codepage to UTF-8.
(gdk_font_load_internal) Use g_filename_from_utf8 for conversion
in the other direction.

* gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_values): Fix cut&paste
error in debugging output.

2000-02-02  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkwindow-win32.c (gdk_window_clear): Pass zero width
and height parameters to gdk_window_clear_area(). Not minus one.

2000-02-01  Tor Lillqvist  <tml@iki.fi>

* gtk/gtkfilesel.c: Use the g_filename_to_utf8 and
g_filename_from_utf8 functions (which were added a moment ago to
GLib). Some cleanups: Use gbooleans. Use GStrings instead of fixed
size buffers.

* gtk/gtkfilesel.h: Add comment about
gtk_file_selection_get_filename returning the filename in the C
runtime's encoding.

* README.win32
* gdk/gdk.def
* gdk/makefile.{cygwin,msc}
* gtk/gtk.def: Updates.

* gdk/gdkcursor-win32.c: Initialise refcount.

26 years agoupdated ca.po
Pablo Saratxaga [Thu, 3 Feb 2000 01:00:44 +0000 (01:00 +0000)]
updated ca.po

26 years agoAdded sanity check for width and height being >= 0. Also, do nothing if
Federico Mena Quintero [Wed, 2 Feb 2000 10:05:57 +0000 (10:05 +0000)]
Added sanity check for width and height being >= 0. Also, do nothing if

2000-02-03  Federico Mena Quintero  <federico@helixcode.com>

* gdk-pixbuf/gdk-pixbuf-render.c
(gdk_pixbuf_render_threshold_alpha): Added sanity check for width
and height being >= 0.  Also, do nothing if either of them is
zero.  Thanks to Ettore for pointing this out.
(gdk_pixbuf_render_to_drawable): Likewise.
(gdk_pixbuf_render_to_drawable_alpha): Likewise.

26 years agoRemoved debugging g_print. Thanks to John Sullivan <sullivan@eazel.com>
Federico Mena Quintero [Wed, 2 Feb 2000 05:47:57 +0000 (05:47 +0000)]
Removed debugging g_print. Thanks to John Sullivan <sullivan@eazel.com>

2000-02-02  Federico Mena Quintero  <federico@helixcode.com>

* gdk-pixbuf/io-gif.c (gif_get_lzw): Removed debugging g_print.
Thanks to John Sullivan <sullivan@eazel.com> for the patch.

* gdk-pixbuf/testpixbuf-drawable.c (configure_cb): Get a new area
of the screen when the window is resized.  Thanks to David
N. Welton <davidw@linuxcare.com> for pointing this out.
Misc. cleanups to the rest of the file.

26 years agorearranged a bit.
Damon Chaplin [Wed, 2 Feb 2000 03:23:11 +0000 (03:23 +0000)]
rearranged a bit.

2000-02-03  Damon Chaplin  <damon@karuna.freeserve.co.uk>

* gdk/gdk-sections.txt: rearranged a bit.

* gdk/tmpl/event_structs.sgml: updated.

* gtk/gtk-sections.txt: added INCLUDE tag for Private Info section.

* gdk/tmpl/color_contexts.sgml: added note saying it is deprecated.
* gdk/tmpl/dnd.sgml: added note saying read the GTK+ DnD docs.

26 years agoAdd some sanity checks if the widget passed to gtk_drag_get_data() was not
Owen Taylor [Tue, 1 Feb 2000 19:05:18 +0000 (19:05 +0000)]
Add some sanity checks if the widget passed to gtk_drag_get_data() was not

Wed Feb  2 11:58:05 2000  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkdnd.c (gtk_drag_selection_received): Add some sanity
checks if the widget passed to gtk_drag_get_data() was not the
dest widget.

26 years agoran make templates.
Damon Chaplin [Tue, 1 Feb 2000 04:27:56 +0000 (04:27 +0000)]
ran make templates.

2000-02-02  Damon Chaplin  <damon@karuna.freeserve.co.uk>

        * gdk/tmpl/*.sgml: ran make templates.

        * gdk/gdk-docs.sgml: rearranged sections.

        * gdk/tmpl/events.sgml: documented.

        * gdk/tmpl/general.sgml: documented.

        * gdk/tmpl/rgb.sgml: fixed a few '@' -> '#'.

        * gdk/gdk-sections.txt: rearranged a few bits, including moving
        GdkWChar and related functions from the input method section to the
        font section, and GdkCapStyle etc. from Drawing Primitives to GCs.

        * gdk/tmpl/images.sgml: documented.

        * gdk/tmpl/drawing.sgml: updated.

        * gdk/tmpl/regions.sgml: updated.

        * gdk/tmpl/input_contexts.sgml: documented.

        * gdk/tmpl/input_methods.sgml: documented.

        * gdk/tmpl/selections.sgml: changed xref to a link since Jade says
        a xref to a RefEntry is not supported.

26 years agognome_init() does not call gdk_rgb_init(), so don't mention that it does
Federico Mena Quintero [Tue, 1 Feb 2000 00:42:39 +0000 (00:42 +0000)]
gnome_init() does not call gdk_rgb_init(), so don't mention that it does

2000-02-01  Federico Mena Quintero  <federico@helixcode.com>

* doc/tmpl/rendering.sgml: gnome_init() does not call
gdk_rgb_init(), so don't mention that it does in the
documentation.  Thanks to Alexander Kruuse <kruuse@home.se> for
pointing this out.

26 years agoHandle zh_CN.GB2312.
Tor Lillqvist [Mon, 31 Jan 2000 20:13:14 +0000 (20:13 +0000)]
Handle zh_CN.GB2312.

2000-02-01  Tor Lillqvist  <tml@iki.fi>

* makefile.cygwin: Handle zh_CN.GB2312.

26 years agono testpixbuf-foo target
Havoc Pennington [Sun, 30 Jan 2000 23:28:41 +0000 (23:28 +0000)]
no testpixbuf-foo target

2000-01-31  Havoc Pennington  <hp@redhat.com>

* gdk-pixbuf/Makefile.am (noinst_PROGRAMS): no testpixbuf-foo target

26 years agoFix from Peter Wainwright to fix 4a => 4a scaling.
Owen Taylor [Sun, 30 Jan 2000 19:46:23 +0000 (19:46 +0000)]
Fix from Peter Wainwright to fix 4a => 4a scaling.

Mon Jan 31 12:38:50 2000  Owen Taylor  <otaylor@redhat.com>

* gdk-pixbuf/pixops/pixops.c (scale_line): Fix from Peter
Wainwright to fix 4a => 4a scaling.

26 years agoAdded po file from TurboLinux Chinese Develop Team.
Yuan-Chung Cheng [Sun, 30 Jan 2000 12:21:05 +0000 (12:21 +0000)]
Added po file from TurboLinux Chinese Develop Team.

26 years agoforgot to cvs add this
Havoc Pennington [Sat, 29 Jan 2000 22:27:09 +0000 (22:27 +0000)]
forgot to cvs add this

26 years agouse gdk_cursor_unref instead of destroy
Havoc Pennington [Sat, 29 Jan 2000 22:26:41 +0000 (22:26 +0000)]
use gdk_cursor_unref instead of destroy

2000-01-30  Havoc Pennington  <hp@pobox.com>

* gtk/testgtk.c (set_cursor): use gdk_cursor_unref instead of
destroy

* gdk/gdkimage.c (gdk_image_ref): image wasn't being returned

* gdk/gdkprivate.h: declare
_gdk_cursor_destroy which is then
implemented in platform-specific code

* gdk/Makefile.am (gdk_c_sources): add gdkcursor.c

* gdk/x11/gdkcursor-x11.c (gdk_cursor_destroy):
rename with an
underscore in front

* gdk/win32/gdkcursor-win32.c (gdk_cursor_destroy):
put an underscore in front

* gdk/gdkcursor.c: new file, implements
gdk_cursor_ref/gdk_cursor_unref

* gdk/gdkcursor.h: Refcount GdkCursor

* gdk/gdkcompat.h
(gdk_cursor_destroy): compat

26 years agoI dated telsa to break gdk-pixbuf.
Mark Crichton [Sat, 29 Jan 2000 01:33:16 +0000 (01:33 +0000)]
I dated telsa to break gdk-pixbuf.

I dated telsa to break gdk-pixbuf.

I didn't think she can do it.

She somehow did, with Alan's help

Fixed it (it was a build bug)

Now, it should be 1000% telsa-proofed.

Mark

26 years agogdk/gdkwindow.h Remove prototypes for renamed functions.
Tor Lillqvist [Fri, 28 Jan 2000 12:16:26 +0000 (12:16 +0000)]
gdk/gdkwindow.h Remove prototypes for renamed functions.

2000-01-29  Tor Lillqvist  <tml@iki.fi>

* gdk/gdkwindow.h
* gdk/gdkpixmap.h: Remove prototypes for renamed functions.

26 years agoupdate-po
Pablo Saratxaga [Thu, 27 Jan 2000 16:28:53 +0000 (16:28 +0000)]
update-po

26 years agoadded Lithuanian file
Pablo Saratxaga [Thu, 27 Jan 2000 16:26:44 +0000 (16:26 +0000)]
added Lithuanian file